/*放置各个页面都会用到的css*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*给整个页面加背景*/
html body{
    height: 100%;
}
body{
    background-image: url("../image/background_Main.jpeg");
    background-size: 100%;
}
.nav{
    width: 100%;
    height: 50px;
    /*0.2是透明度 */
    background-color: rgba(0, 0, 0, 0.2);
    color: rgb(29, 234, 255);

    display: flex;
    /*垂直居中*/
    align-items: center;
}
.nav img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 30px;
    margin-right: 10px;
    border-right: 1.5px rgb(29, 234, 255) solid;
}
.nav .spacer{
    width: 70%;
}
.nav a{
    color: rgb(91, 235, 249);
    text-decoration: none;
    padding: 0 10px;
    border-radius: 5px;
    border-right: 1.5px rgb(29, 234, 255) solid;
}

.container{
    width: 1000px;
    /*这个写法 - 左右必须有空格*/
    height: calc(100% - 50px);
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
}
.container .left{
    height: 100%;
    width: 200px;
    color: rgb(184, 194, 205);
}

.container .right{
    /* height: 100%; */
    height: 600px;
    width: 795px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 30px;
    overflow-y: auto;
}

.card{
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 30px;
}
.card img{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    /* border-right: 1.5px rgb(29, 234, 255) solid; */
}
.card h3{
    text-align: center;
    padding: 10px;
}
.card a{
    /* 设为块级元素,怕行内样式不生效 */
    display: block;
    text-align: center;
    text-decoration: none;
    color: rgba(184, 194, 205,0.6);
}
.card .counter{
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    font-weight: bold;
}